package com.yeyaomai.dksns.flowis.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yeyaomai.dksns.flowis.dao.DkUserInfoDao;
import com.yeyaomai.dksns.flowis.dao.TodayDao;
import com.yeyaomai.dksns.flowis.domain.DkUserInfo;
import com.yeyaomai.dksns.flowis.domain.Today;
import com.yeyaomai.dksns.flowis.service.TodayService;

@Service
public class TodayServiceImpl implements TodayService {

	@Resource
	private TodayDao todayDao;
	
	@Resource
	private DkUserInfoDao dkUserInfoDao;

	@Override
	public Today getToday() {
		return todayDao.getToday();
	}

	@Override
	public List<DkUserInfo> getUserInfoByTime(DkUserInfo userInfo) {
		
		return dkUserInfoDao.getUserInfoByTime(userInfo);
	}

}